<h2>Expenses [by Date]</h2>

<% if @expenses.nil? -%>
  <strong>There are no expenses found.</strong>
<% else -%>
  <%= render :partial => 'expense', :collection => @expenses %>
<% end -%>
<br />

<%= link_to 'New expense', new_expense_path %>
